package nacos_service1.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Author:zimmor
 * @Date: 2021/5/5 22:52
 * @Description
 * @version: 1.0.0
 */
@Table(name="tb_city")
@Entity
public class City {
    @Id
    private String id;
    private String name;
    private String ishot;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIshot() {
        return ishot;
    }

    public void setIshot(String ishot) {
        this.ishot = ishot;
    }

    @Override
    public String toString() {
        return "City{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", ishot='" + ishot + '\'' +
                '}';
    }
}
